package com.ruoyi.personnel.vo;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 提交申请输入的参数
 * create by hyj
 */
public class ReserveInformationVO {
    private Long id;
    //姓名
    @NotEmpty(message = "姓名不能为空")
    private String name;
    @NotEmpty(message = "用户id不能为空")
    private String  openId;
    //电话
    @NotEmpty(message = "号码不能为空")
    private String phoneNumber;
    //来访事由
    @NotNull(message = "请选择来访事由")
    private Integer visitReason;
    //来访时间
    private Long visitTime;
    //随身物品
    private String belongings;
    //来访公司
    private String visitCompany;
    //访问人数
    @NotNull(message = "请输入访问人数")
    private Integer visitNumber;
    //随访人姓名
    private String visitName;
    //拜访地址
    @NotNull(message = "地址不能为空")
    private Integer accessAddress;
    //受访人电话
    @NotNull(message = "受访人号码不能为空")
    private String accessPhone;

    private String accessName;

    private String outVisitTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public Integer getVisitReason() {
        return visitReason;
    }

    public void setVisitReason(Integer visitReason) {
        this.visitReason = visitReason;
    }

    public Long getVisitTime() {
        return visitTime;
    }

    public void setVisitTime(Long visitTime) {
        this.visitTime = visitTime;
    }

    public String getBelongings() {
        return belongings;
    }

    public void setBelongings(String belongings) {
        this.belongings = belongings;
    }

    public String getVisitCompany() {
        return visitCompany;
    }

    public void setVisitCompany(String visitCompany) {
        this.visitCompany = visitCompany;
    }

    public Integer getVisitNumber() {
        return visitNumber;
    }

    public void setVisitNumber(Integer visitNumber) {
        this.visitNumber = visitNumber;
    }

    public String getVisitName() {
        return visitName;
    }

    public void setVisitName(String visitName) {
        this.visitName = visitName;
    }

    public Integer getAccessAddress() {
        return accessAddress;
    }

    public void setAccessAddress(Integer accessAddress) {
        this.accessAddress = accessAddress;
    }

    public String getAccessPhone() {
        return accessPhone;
    }

    public void setAccessPhone(String accessPhone) {
        this.accessPhone = accessPhone;
    }

    public String getAccessName() {
        return accessName;
    }

    public void setAccessName(String accessName) {
        this.accessName = accessName;
    }

    public String getOutVisitTime() {
        return outVisitTime;
    }

    public void setOutVisitTime(String outVisitTime) {
        this.outVisitTime = outVisitTime;
    }

    @Override
    public String toString() {
        return "ReserveInformationVO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", openId='" + openId + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", visitReason=" + visitReason +
                ", visitTime=" + visitTime +
                ", belongings='" + belongings + '\'' +
                ", visitCompany='" + visitCompany + '\'' +
                ", visitNumber=" + visitNumber +
                ", visitName='" + visitName + '\'' +
                ", accessAddress=" + accessAddress +
                ", accessPhone='" + accessPhone + '\'' +
                ", accessName='" + accessName + '\'' +
                ", outVisitTime='" + outVisitTime + '\'' +
                '}';
    }
}
